<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="common.jsp"%>
<title>图书馆</title>
<style type="text/css">
.statusTag{
    display: inline-block !important;
}
</style>
</head>
<body>
     <%@include file="commonHeader.jsp"%>
	 <input type="hidden" value="图书馆" id="selectedMenu">
	 <div class="swiper-container topBanner">
		<div class="swiper-wrapper">
			<c:forEach var="showDetailImg" items="${moduleVo.imageList}">
				<div class="swiper-slide">
					<img data-src="${showDetailImg.pictureUrl}" class="swiper-lazy">
					<div class="swiper-lazy-preloader"></div>
				</div>
			</c:forEach>
		</div>
		<div class="swiper-button-next">
			<i class="swiperIconfont icon-youjiantou"></i>
		</div>
		<div class="swiper-button-prev">
			<i class="swiperIconfont icon-zuojiantou"></i>
		</div>
	</div>
	 <div class="index-card-swiper-box">
		 <div class="swiper-container index-card-swiper">
			<div class="swiper-wrapper">
                <c:if test="${! empty moduleVo.moduleShowList}">
                    <c:forEach items="${moduleVo.moduleShowList}" var="moduleShow">
                        <div class="swiper-slide">
                            <a class="flexItem detailCardItem" href="/pc/showed?moduleShowId=${moduleShow.id}">
                                <img alt=""
                                     src="${moduleShow.pictureUrl}">
                                <div class="detailCardFontBox">
                                    <div class="statusTag statusTag-chinese font10px">${moduleShow.title}</div>
                                    <div class="statusTag statusTag-english font10px">${moduleShow.enTitle}</div>
                                </div>
                            </a>
                        </div>
                    </c:forEach>
                </c:if>
			</div>
			<div class="swiper-button-next">
				<i class="swiperIconfont icon-youjiantou"></i>
			</div>
			<div class="swiper-button-prev">
				<i class="swiperIconfont icon-zuojiantou"></i>
			</div>
		</div>
	 </div>
	 <%@include file="commonFooter.jsp"%>
</body>
<script>
$(function(){
	commonInit.swiperIndexPage();
	commonInit.indexCardSwiper();
})
</script>
</html>